google.golang.org/protobuf/reflect/protoreflect.value.num (field)
20 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
value_union.go#L124: return Value{typ: boolType, num: 1}
value_union.go#L126: return Value{typ: boolType, num: 0}
value_union.go#L132: return Value{typ: int32Type, num: uint64(v)}
value_union.go#L137: return Value{typ: int64Type, num: uint64(v)}
value_union.go#L142: return Value{typ: uint32Type, num: uint64(v)}
value_union.go#L147: return Value{typ: uint64Type, num: v}
value_union.go#L152: return Value{typ: float32Type, num: uint64(math.Float64bits(float64(v)))}
value_union.go#L157: return Value{typ: float64Type, num: uint64(math.Float64bits(float64(v)))}
value_union.go#L172: return Value{typ: enumType, num: uint64(v)}
value_union.go#L273: return v.num > 0
value_union.go#L283: return int64(v.num)
value_union.go#L293: return uint64(v.num)
value_union.go#L303: return math.Float64frombits(uint64(v.num))
value_union.go#L334: return EnumNumber(v.num)
value_unsafe.go#L72: num uint64 // 8B
value_unsafe.go#L77: return Value{typ: stringType, ptr: p.Data, num: uint64(len(v))}
value_unsafe.go#L81: return Value{typ: bytesType, ptr: p.Data, num: uint64(len(v))}
value_unsafe.go#L89: *(*stringHeader)(unsafe.Pointer(&x)) = stringHeader{Data: v.ptr, Len: int(v.num)}
value_unsafe.go#L93: *(*sliceHeader)(unsafe.Pointer(&x)) = sliceHeader{Data: v.ptr, Len: int(v.num), Cap: int(v.num)}